package com.freewater.cargotracker.infrastructure.persistence.mybatis.dbobject;

import java.util.ArrayList;
import java.util.List;

public class VoyagePO {

    private Long id;
    private String number;
    private String description;
    private Double capacity;
    private int version;
    private transient List<CarrierMovementPO> carrierMovements = new ArrayList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getCapacity() {
        return capacity;
    }

    public void setCapacity(Double capacity) {
        this.capacity = capacity;
    }

    public List<CarrierMovementPO> getCarrierMovements() {
        return carrierMovements;
    }

    public void setCarrierMovements(List<CarrierMovementPO> carrierMovements) {
        this.carrierMovements = carrierMovements;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }
}
